-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch from Ant to Gradle #389
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #389 +/- ##
==========================================
Coverage 93.65% 93.65%
Complexity 1590 1590
==========================================
Files 102 102
Lines 4743 4744 +1
Branches 828 828
==========================================
+ Hits 4442 4443 +1
Misses 286 286
Partials 15 15 |
task buildGitCommitFile { | ||
doLast { | ||
def commitId = grgit.head().id | ||
// is there a variable for builddir/classes/java/main? | ||
file("$buildDir/classes/java/main/us/kbase/groups/gitcommit").text = commitId | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What benefits do we get for saving a commit in a file? Verification?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That commit winds up here: https://ci.kbase.us/services/groups/
so you know what code the server is running
@@ -77,10 +70,9 @@ jobs: | |||
- name: Run tests | |||
shell: bash | |||
run: | | |||
ant ${{matrix.ant_test}} | |||
gradle ${{matrix.gradle_test}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run: ./gradlew test
is sufficient? Probably don't need gradle_test: 'test'
unless I am missing something important.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not for now, but it's a placeholder in case we ever split out the mongo tests as noted in a TODO earlier in the file IIRC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
No description provided.